package com.server.webservice;

import com.server.bean.Doc;
import com.server.bean.File;
import com.server.mapper.DocMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.List;

@WebService

public interface WebService_ {



//    @WebMethod
//    String welcome(@WebParam(name = "param1") String param1, @WebParam(name = "param2") String param2, @WebParam(name = "param3") String param3);
     @WebMethod
     public List<Doc> docs(@WebParam(name = "user") String user);
     @WebMethod
     public List<File> files();
}